
R2>show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Embedded-Service-Engine0/0 unassigned      YES unset  administratively down down
GigabitEthernet0/0         209.165.200.226 YES manual up                    up
GigabitEthernet0/1         unassigned      YES unset  administratively down down
Serial0/0/0                unassigned      YES unset  administratively down down
Serial0/0/1                unassigned      YES unset  administratively down down
Loopback0                  2.2.2.2         YES manual up                    up

R2>show bgp all
For address family: IPv4 Unicast


For address family: IPv6 Unicast


For address family: IPv4 Multicast


For address family: L2VPN E-VPN


For address family: MVPNv4 Unicast


For address family: MVPNv6 Unicast


      2.0.0.0/32 is subnetted, 1 subnets
C        2.2.2.2 is directly connected, Loopback0
      209.165.200.0/24 is variably subnetted, 2 subnets, 2 masks
C        209.165.200.224/27 is directly connected, GigabitEthernet0/0
L        209.165.200.226/32 is directly connected, GigabitEthernet0/0


R2#show run
Building configuration...

Current configuration : 1651 bytes
!
! Last configuration change at 13:24:22 UTC Fri Jan 13 2023
!
version 15.7
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!


!
!
!
!
no ip domain lookup
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO1921/K9 sn FCZ2118B019
license boot module c1900 technology-package datak9
!
!
!
redundancy
!
!
!
!
!
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
 ipv6 address 2001:DB8:2222::1/128
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 ip address 209.165.200.226 255.255.255.224
 duplex auto
 speed auto
 ipv6 address 2001:DB8:200::2/64
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial0/0/0
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/0/1
 no ip address
 shutdown
 clock rate 2000000
!
router bgp 500
 bgp router-id 2.2.2.2
 bgp log-neighbor-changes
 neighbor 2001:DB8:200:: remote-as 300
 neighbor 209.165.200.0 remote-as 300
 !
 address-family ipv4
  no neighbor 2001:DB8:200:: activate
  neighbor 209.165.200.0 activate
 exit-address-family
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
ipv6 ioam timestamp
!
!
!
control-plane
!
!
 vstack
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line vty 0 4
 login
 transport input none
!
scheduler allocate 20000 1000
!
end
